package com.yl.chainStore.mapper.customer

import com.yl.chainStore.entity.customer.CustomerInfoPhone;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cxw
 * @since 2021-12-01
 */
@Mapper
interface CustomerInfoPhoneMapper : BaseMapper<CustomerInfoPhone>{

	/**
	 * 查询本院是否有相同本身的手机号码
	 */
	fun haveSameMobileBySelf(@Param("companyId")companyId:Long,@Param("phone")phone:String):Int
}
